home *** CD-ROM | disk | FTP | other *** search
/ Inter.Net 55-1 / Inter.Net 55-1.iso / CBuilder / Setup / BCB / data.z / chartfx3.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  1998-02-09  |  22.9 KB  |  510 lines

  1. // Borland C++ Builder
  2. // Copyright (c) 1995, 1998 by Borland International
  3. // All rights reserved
  4.  
  5. // (DO NOT EDIT: machine generated header) 'chartfx3.pas' rev: 3.00
  6.  
  7. #ifndef chartfx3HPP
  8. #define chartfx3HPP
  9. #include <Menus.hpp>
  10. #include <Controls.hpp>
  11. #include <StdVCL.hpp>
  12. #include <OleCtrls.hpp>
  13. #include <Graphics.hpp>
  14. #include <Classes.hpp>
  15. #include <ActiveX.hpp>
  16. #include <Windows.hpp>
  17. #include <SysInit.hpp>
  18. #include <System.hpp>
  19.  
  20. //-- user supplied -----------------------------------------------------------
  21.  
  22. namespace Chartfx3
  23. {
  24. //-- type declarations -------------------------------------------------------
  25. __dispinterface _DChartfx;
  26. typedef System::DelphiInterface<_DChartfx> _di__DChartfx;
  27. __dispinterface _DChartfx: public IDispatch /* __guid="{2DC488B0-D891-101B-8652-00AA003A5593}" */
  28. {
  29.     
  30. };
  31. typedef _DChartfx Chartfx;
  32.  
  33. typedef Olectrls::TOleEnum PointTypeConstants;
  34.  
  35. typedef Olectrls::TOleEnum SchemeConstants;
  36.  
  37. typedef Olectrls::TOleEnum StackedConstants;
  38.  
  39. typedef Olectrls::TOleEnum GridConstants;
  40.  
  41. typedef Olectrls::TOleEnum GalleryConstants;
  42.  
  43. typedef Olectrls::TOleEnum ConstTypeConstants;
  44.  
  45. typedef Olectrls::TOleEnum LegendStyleConstants;
  46.  
  47. typedef Olectrls::TOleEnum OpenDataConstants;
  48.  
  49. typedef Olectrls::TOleEnum ClickConstants;
  50.  
  51. typedef Olectrls::TOleEnum DialogConstants;
  52.  
  53. typedef Olectrls::TOleEnum AdmConstants;
  54.  
  55. typedef Olectrls::TOleEnum TitleConstants;
  56.  
  57. typedef Olectrls::TOleEnum FontConstants;
  58.  
  59. typedef Olectrls::TOleEnum ItemConstants;
  60.  
  61. typedef Olectrls::TOleEnum DecimalConstants;
  62.  
  63. __dispinterface _DChartfxEvents;
  64. typedef System::DelphiInterface<_DChartfxEvents> _di__DChartfxEvents;
  65. __dispinterface _DChartfxEvents: public IDispatch /* __guid="{2DC488B1-D891-101B-8652-00AA003A5593}" */
  66.     
  67. {
  68.     
  69. };
  70.  
  71. typedef void __fastcall (__closure *TChartfxLButtonDblClk)(System::TObject* Sender, short x, short y
  72.     , short nSerie, int nPoint, short &nRes);
  73.  
  74. typedef void __fastcall (__closure *TChartfxRButtonDown)(System::TObject* Sender, short x, short y, 
  75.     short nSerie, int nPoint, short &nRes);
  76.  
  77. typedef void __fastcall (__closure *TChartfxChangeValue)(System::TObject* Sender, double dValue, short 
  78.     nSerie, int nPoint, short &nRes);
  79.  
  80. typedef void __fastcall (__closure *TChartfxChangeString)(System::TObject* Sender, short nType, int 
  81.     nIndex, short &nRes);
  82.  
  83. typedef void __fastcall (__closure *TChartfxChangeColor)(System::TObject* Sender, short nType, short 
  84.     nIndex, short &nRes);
  85.  
  86. typedef void __fastcall (__closure *TChartfxChangePalette)(System::TObject* Sender, short nIndex, short 
  87.     &nRes);
  88.  
  89. typedef void __fastcall (__closure *TChartfxChangeFont)(System::TObject* Sender, short nIndex, short 
  90.     &nRes);
  91.  
  92. typedef void __fastcall (__closure *TChartfxChangePattern)(System::TObject* Sender, short nType, short 
  93.     nIndex, short &nRes);
  94.  
  95. typedef void __fastcall (__closure *TChartfxChangePattPal)(System::TObject* Sender, short nIndex, short 
  96.     &nRes);
  97.  
  98. typedef void __fastcall (__closure *TChartfxMenu)(System::TObject* Sender, int wParam, short nSerie, 
  99.     int nPoint, short &nRes);
  100.  
  101. typedef void __fastcall (__closure *TChartfxChangeType)(System::TObject* Sender, short nType, short 
  102.     &nRes);
  103.  
  104. typedef void __fastcall (__closure *TChartfxUserScroll)(System::TObject* Sender, int wScrollMsg, int 
  105.     wScrollParam, short &nRes);
  106.  
  107. typedef void __fastcall (__closure *TChartfxGetLegend)(System::TObject* Sender, short nType, short &
  108.     nRes);
  109.  
  110. class DELPHICLASS TChartfx;
  111. class PASCALIMPLEMENTATION TChartfx : public Olectrls::TOleControl 
  112. {
  113.     typedef Olectrls::TOleControl inherited;
  114.     
  115. private:
  116.     TChartfxLButtonDblClk FOnLButtonDblClk;
  117.     TChartfxRButtonDown FOnRButtonDown;
  118.     TChartfxChangeValue FOnChangeValue;
  119.     TChartfxChangeString FOnChangeString;
  120.     TChartfxChangeColor FOnChangeColor;
  121.     Classes::TNotifyEvent FOnDestroy;
  122.     Classes::TNotifyEvent FOnReadFile;
  123.     TChartfxChangePalette FOnChangePalette;
  124.     TChartfxChangeFont FOnChangeFont;
  125.     Classes::TNotifyEvent FOnReadTemplate;
  126.     TChartfxChangePattern FOnChangePattern;
  127.     TChartfxChangePattPal FOnChangePattPal;
  128.     TChartfxMenu FOnMenu;
  129.     TChartfxChangeType FOnChangeType;
  130.     TChartfxUserScroll FOnUserScroll;
  131.     TChartfxGetLegend FOnGetLegend;
  132.     _di__DChartfx FIntf;
  133.     int __fastcall Get_hWnd(void);
  134.     void __fastcall Set_hWnd(int &Value);
  135.     double __fastcall Get_Value(short index);
  136.     void __fastcall Set_Value(short index, double Value);
  137.     double __fastcall Get_XValue(short index);
  138.     void __fastcall Set_XValue(short index, double Value);
  139.     double __fastcall Get_IniValue(short index);
  140.     void __fastcall Set_IniValue(short index, double Value);
  141.     double __fastcall Get_Const_(short index);
  142.     void __fastcall Set_Const_(short index, double Value);
  143.     Graphics::TColor __fastcall Get_Color(short index);
  144.     void __fastcall Set_Color(short index, Graphics::TColor Value);
  145.     Graphics::TColor __fastcall Get_BkColor(short index);
  146.     void __fastcall Set_BkColor(short index, Graphics::TColor Value);
  147.     double __fastcall Get_Adm(short index);
  148.     void __fastcall Set_Adm(short index, double Value);
  149.     short __fastcall Get_Pattern(short index);
  150.     void __fastcall Set_Pattern(short index, short Value);
  151.     int __fastcall Get_Fonts(short index);
  152.     void __fastcall Set_Fonts(short index, int Value);
  153.     System::WideString __fastcall Get_Title(short index);
  154.     void __fastcall Set_Title(short index, const System::WideString Value);
  155.     System::WideString __fastcall Get_Legend(short index);
  156.     void __fastcall Set_Legend(short index, const System::WideString Value);
  157.     System::WideString __fastcall Get_SerLeg(short index);
  158.     void __fastcall Set_SerLeg(short index, const System::WideString Value);
  159.     System::WideString __fastcall Get_KeyLeg(short index);
  160.     void __fastcall Set_KeyLeg(short index, const System::WideString Value);
  161.     System::WideString __fastcall Get_FixLeg(short index);
  162.     void __fastcall Set_FixLeg(short index, const System::WideString Value);
  163.     System::WideString __fastcall Get_YLeg(short index);
  164.     void __fastcall Set_YLeg(short index, const System::WideString Value);
  165.     System::WideString __fastcall Get_KeySer(short index);
  166.     void __fastcall Set_KeySer(short index, const System::WideString Value);
  167.     System::WideString __fastcall Get_StatusText(short index);
  168.     void __fastcall Set_StatusText(short index, const System::WideString Value);
  169.     Graphics::TColor __fastcall Get_RGBFont(short index);
  170.     void __fastcall Set_RGBFont(short index, Graphics::TColor Value);
  171.     short __fastcall Get_HFont(short index);
  172.     void __fastcall Set_HFont(short index, short Value);
  173.     short __fastcall Get_ItemWidth(short index);
  174.     void __fastcall Set_ItemWidth(short index, short Value);
  175.     short __fastcall Get_ItemStyle(short index);
  176.     void __fastcall Set_ItemStyle(short index, short Value);
  177.     Graphics::TColor __fastcall Get_ItemColor(short index);
  178.     void __fastcall Set_ItemColor(short index, Graphics::TColor Value);
  179.     short __fastcall Get_DecimalsNum(short index);
  180.     void __fastcall Set_DecimalsNum(short index, short Value);
  181.     
  182. protected:
  183.     virtual void __fastcall InitControlData(void);
  184.     virtual void __fastcall InitControlInterface(const _di_IUnknown Obj);
  185.     
  186. public:
  187.     int __fastcall OpenDataEx(short nType, int n1, int n2);
  188.     Word __fastcall CloseData(short nType);
  189.     int __fastcall DblClk(short nType, int lExtra);
  190.     int __fastcall RigClk(short nType, int lExtra);
  191.     int __fastcall Status(short nItems, int lpStatus);
  192.     int __fastcall ShowDialog(short nDialog, int lExtra);
  193.     int __fastcall PrintIt(void);
  194.     HIDESBASE int __fastcall Scroll(int wParam, int lParam);
  195.     int __fastcall SetStatusItem(short index, Word bText, short nID, Word bFrame, short nWidth, short nMin
  196.         , short nDesp, int dwStyle);
  197.     int __fastcall Paint(int hDC, short nLeft, short nTop, short nRight, short nBottom, short wAction, 
  198.         int lps);
  199.     int __fastcall SetStripe(short index, double dMin, double dMax, Graphics::TColor rgb);
  200.     int __fastcall Language(const System::WideString sResource);
  201.     int __fastcall ExportFile(const System::WideString lpszNewValue);
  202.     int __fastcall ImportFile(const System::WideString lpszNewValue);
  203.     int __fastcall WriteTemplate(const System::WideString lpszNewValue);
  204.     int __fastcall ReadTemplate(const System::WideString lpszNewValue);
  205.     int __fastcall CopyData(void);
  206.     int __fastcall CopyBitmap(void);
  207.     HIDESBASE void __fastcall Refresh(void);
  208.     void __fastcall AboutBox(void);
  209.     __property _di__DChartfx ControlInterface = {read=FIntf};
  210.     __property double Value[short index] = {read=Get_Value, write=Set_Value};
  211.     __property double XValue[short index] = {read=Get_XValue, write=Set_XValue};
  212.     __property double IniValue[short index] = {read=Get_IniValue, write=Set_IniValue};
  213.     __property double Const_[short index] = {read=Get_Const_, write=Set_Const_};
  214.     __property Graphics::TColor Color[short index] = {read=Get_Color, write=Set_Color};
  215.     __property Graphics::TColor BkColor[short index] = {read=Get_BkColor, write=Set_BkColor};
  216.     __property double Adm[short index] = {read=Get_Adm, write=Set_Adm};
  217.     __property short Pattern[short index] = {read=Get_Pattern, write=Set_Pattern};
  218.     __property int Fonts[short index] = {read=Get_Fonts, write=Set_Fonts};
  219.     __property System::WideString Title[short index] = {read=Get_Title, write=Set_Title};
  220.     __property System::WideString Legend[short index] = {read=Get_Legend, write=Set_Legend};
  221.     __property System::WideString SerLeg[short index] = {read=Get_SerLeg, write=Set_SerLeg};
  222.     __property System::WideString KeyLeg[short index] = {read=Get_KeyLeg, write=Set_KeyLeg};
  223.     __property System::WideString FixLeg[short index] = {read=Get_FixLeg, write=Set_FixLeg};
  224.     __property System::WideString YLeg[short index] = {read=Get_YLeg, write=Set_YLeg};
  225.     __property System::WideString KeySer[short index] = {read=Get_KeySer, write=Set_KeySer};
  226.     __property System::WideString StatusText[short index] = {read=Get_StatusText, write=Set_StatusText}
  227.         ;
  228.     __property Graphics::TColor RGBFont[short index] = {read=Get_RGBFont, write=Set_RGBFont};
  229.     __property short HFont[short index] = {read=Get_HFont, write=Set_HFont};
  230.     __property short ItemWidth[short index] = {read=Get_ItemWidth, write=Set_ItemWidth};
  231.     __property short ItemStyle[short index] = {read=Get_ItemStyle, write=Set_ItemStyle};
  232.     __property Graphics::TColor ItemColor[short index] = {read=Get_ItemColor, write=Set_ItemColor};
  233.     __property short DecimalsNum[short index] = {read=Get_DecimalsNum, write=Set_DecimalsNum};
  234.     
  235. __published:
  236.     __property TabStop ;
  237.     __property Align ;
  238.     __property DragCursor ;
  239.     __property DragMode ;
  240.     __property ParentShowHint ;
  241.     __property PopupMenu ;
  242.     __property ShowHint ;
  243.     __property TabOrder ;
  244.     __property Visible ;
  245.     __property OnDragDrop ;
  246.     __property OnDragOver ;
  247.     __property OnEndDrag ;
  248.     __property OnEnter ;
  249.     __property OnExit ;
  250.     __property OnStartDrag ;
  251.     __property short DesignDraw = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=4, 
  252.         nodefault};
  253.     __property short ThisSerie = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=1, nodefault
  254.         };
  255.     __property short ThisPoint = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=2, nodefault
  256.         };
  257.     __property Word AutoInvalidate = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=3
  258.         , nodefault};
  259.     __property int Type_ = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=5, nodefault
  260.         };
  261.     __property int Style = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=6, nodefault
  262.         };
  263.     __property short NSeries = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=7, nodefault
  264.         };
  265.     __property short NValues = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=8, nodefault
  266.         };
  267.     __property Graphics::TColor ThisColor = {read=GetTColorProp, write=SetTColorProp, stored=false, index=9
  268.         , nodefault};
  269.     __property Graphics::TColor ThisBkColor = {read=GetTColorProp, write=SetTColorProp, stored=false, index=10
  270.         , nodefault};
  271.     __property short LeftGap = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=11, nodefault
  272.         };
  273.     __property short RightGap = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=12, nodefault
  274.         };
  275.     __property short TopGap = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=13, nodefault
  276.         };
  277.     __property short BottomGap = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=14, 
  278.         nodefault};
  279.     __property short Decimals = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=15, nodefault
  280.         };
  281.     __property short PointType = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=16, 
  282.         nodefault};
  283.     __property short Scheme = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=17, nodefault
  284.         };
  285.     __property short Stacked = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=18, nodefault
  286.         };
  287.     __property short Grid = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=19, nodefault
  288.         };
  289.     __property short WallWidth = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=20, 
  290.         nodefault};
  291.     __property short BarHorzGap = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=21, 
  292.         nodefault};
  293.     __property Word View3D = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=22, nodefault
  294.         };
  295.     __property int Angles3D = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=23, nodefault
  296.         };
  297.     __property short PixFactor = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=24, 
  298.         nodefault};
  299.     __property short LineWidth = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=25, 
  300.         nodefault};
  301.     __property short LineStyle = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=26, 
  302.         nodefault};
  303.     __property Graphics::TColor LineColor = {read=GetTColorProp, write=SetTColorProp, stored=false, index=27
  304.         , nodefault};
  305.     __property Graphics::TColor LineBkColor = {read=GetTColorProp, write=SetTColorProp, stored=false, index=28
  306.         , nodefault};
  307.     __property short FixedWidth = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=29, 
  308.         nodefault};
  309.     __property short FixedStyle = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=30, 
  310.         nodefault};
  311.     __property Graphics::TColor FixedColor = {read=GetTColorProp, write=SetTColorProp, stored=false, index=31
  312.         , nodefault};
  313.     __property Graphics::TColor FixedBkColor = {read=GetTColorProp, write=SetTColorProp, stored=false, 
  314.         index=32, nodefault};
  315.     __property short FixedGap = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=33, nodefault
  316.         };
  317.     __property Graphics::TColor RGBBarHorz = {read=GetTColorProp, write=SetTColorProp, stored=false, index=34
  318.         , nodefault};
  319.     __property Graphics::TColor RGBBk = {read=GetTColorProp, write=SetTColorProp, stored=false, index=35
  320.         , nodefault};
  321.     __property Graphics::TColor RGB2DBk = {read=GetTColorProp, write=SetTColorProp, stored=false, index=36
  322.         , nodefault};
  323.     __property Graphics::TColor RGB3DBk = {read=GetTColorProp, write=SetTColorProp, stored=false, index=37
  324.         , nodefault};
  325.     __property Word ShowStatus = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=38, 
  326.         nodefault};
  327.     __property System::WideString HText = {read=GetWideStringProp, write=SetWideStringProp, stored=false
  328.         , index=39};
  329.     __property short ChartStatus = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=40
  330.         , nodefault};
  331.     __property short Edit = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=41, nodefault
  332.         };
  333.     __property short ChartType = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=42, 
  334.         nodefault};
  335.     __property Word Chart3D = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=43, nodefault
  336.         };
  337.     __property Word ToolBar = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=44, nodefault
  338.         };
  339.     __property Word PaletteBar = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=45, 
  340.         nodefault};
  341.     __property Word PatternBar = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=46, 
  342.         nodefault};
  343.     __property int CustTool = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=47, nodefault
  344.         };
  345.     __property int ReturnValue = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=48, nodefault
  346.         };
  347.     __property Word AutoIncrement = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=49
  348.         , nodefault};
  349.     __property double ThisValue = {read=GetDoubleProp, write=SetDoubleProp, stored=false, index=50};
  350.     __property short VertGridGap = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=51
  351.         , nodefault};
  352.     __property short XLegType = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=52, nodefault
  353.         };
  354.     __property short ConstType = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=53, 
  355.         nodefault};
  356.     __property Graphics::TFont* LeftFont = {read=GetTFontProp, write=SetTFontProp, stored=false, index=54
  357.         };
  358.     __property Graphics::TFont* RightFont = {read=GetTFontProp, write=SetTFontProp, stored=false, index=55
  359.         };
  360.     __property Graphics::TFont* TopFont = {read=GetTFontProp, write=SetTFontProp, stored=false, index=56
  361.         };
  362.     __property Graphics::TFont* BottomFont = {read=GetTFontProp, write=SetTFontProp, stored=false, index=57
  363.         };
  364.     __property Graphics::TFont* XLegFont = {read=GetTFontProp, write=SetTFontProp, stored=false, index=58
  365.         };
  366.     __property Graphics::TFont* YLegFont = {read=GetTFontProp, write=SetTFontProp, stored=false, index=59
  367.         };
  368.     __property Graphics::TFont* FixedFont = {read=GetTFontProp, write=SetTFontProp, stored=false, index=60
  369.         };
  370.     __property Graphics::TFont* LegendFont = {read=GetTFontProp, write=SetTFontProp, stored=false, index=61
  371.         };
  372.     __property short LegendWidth = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=62
  373.         , nodefault};
  374.     __property Word Enabled = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=-514, nodefault
  375.         };
  376.     __property int hWnd = {read=Get_hWnd, write=Set_hWnd, stored=false, nodefault};
  377.     __property short BorderStyle = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=-504
  378.         , nodefault};
  379.     __property int hCtlWnd = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=63, nodefault
  380.         };
  381.     __property TChartfxLButtonDblClk OnLButtonDblClk = {read=FOnLButtonDblClk, write=FOnLButtonDblClk};
  382.         
  383.     __property TChartfxRButtonDown OnRButtonDown = {read=FOnRButtonDown, write=FOnRButtonDown};
  384.     __property TChartfxChangeValue OnChangeValue = {read=FOnChangeValue, write=FOnChangeValue};
  385.     __property TChartfxChangeString OnChangeString = {read=FOnChangeString, write=FOnChangeString};
  386.     __property TChartfxChangeColor OnChangeColor = {read=FOnChangeColor, write=FOnChangeColor};
  387.     __property Classes::TNotifyEvent OnDestroy = {read=FOnDestroy, write=FOnDestroy};
  388.     __property Classes::TNotifyEvent OnReadFile = {read=FOnReadFile, write=FOnReadFile};
  389.     __property TChartfxChangePalette OnChangePalette = {read=FOnChangePalette, write=FOnChangePalette};
  390.         
  391.     __property TChartfxChangeFont OnChangeFont = {read=FOnChangeFont, write=FOnChangeFont};
  392.     __property Classes::TNotifyEvent OnReadTemplate = {read=FOnReadTemplate, write=FOnReadTemplate};
  393.     __property TChartfxChangePattern OnChangePattern = {read=FOnChangePattern, write=FOnChangePattern};
  394.         
  395.     __property TChartfxChangePattPal OnChangePattPal = {read=FOnChangePattPal, write=FOnChangePattPal};
  396.         
  397.     __property TChartfxMenu OnMenu = {read=FOnMenu, write=FOnMenu};
  398.     __property TChartfxChangeType OnChangeType = {read=FOnChangeType, write=FOnChangeType};
  399.     __property TChartfxUserScroll OnUserScroll = {read=FOnUserScroll, write=FOnUserScroll};
  400.     __property TChartfxGetLegend OnGetLegend = {read=FOnGetLegend, write=FOnGetLegend};
  401. public:
  402.     /* TOleControl.Create */ __fastcall virtual TChartfx(Classes::TComponent* AOwner) : Olectrls::TOleControl(
  403.         AOwner) { }
  404.     /* TOleControl.Destroy */ __fastcall virtual ~TChartfx(void) { }
  405.     
  406. public:
  407.     /* TWinControl.CreateParented */ __fastcall TChartfx(HWND ParentWindow) : Olectrls::TOleControl(ParentWindow
  408.         ) { }
  409.     
  410. };
  411.  
  412. //-- var, const, procedure ---------------------------------------------------
  413. extern PACKAGE GUID LIBID_ChartfxLib;
  414. #define CHART_NONEMK (Byte)(0)
  415. #define CHART_RECTMK (Byte)(1)
  416. #define CHART_CIRCLEMK (Byte)(2)
  417. #define CHART_TRIANGLEMK (Byte)(3)
  418. #define CHART_MARBLEMK (Byte)(4)
  419. #define CHART_CUBEMK (Byte)(5)
  420. #define CHART_MANYMK (Byte)(6)
  421. #define CHART_CSSOLID (Byte)(0)
  422. #define CHART_CSBWPATTERN (Byte)(1)
  423. #define CHART_CSPATTERN (Byte)(2)
  424. #define CHART_NOSTACKED (Byte)(0)
  425. #define CHART_STACKED (Byte)(1)
  426. #define CHART_STACKED100 (Byte)(2)
  427. #define CHART_NOGRID (Byte)(0)
  428. #define CHART_HORZGRID (Byte)(1)
  429. #define CHART_VERTGRID (Byte)(2)
  430. #define CHART_BOTHGRID (Byte)(3)
  431. #define CHART_GRIDY2 (Byte)(4)
  432. #define LINES (Byte)(1)
  433. #define BAR (Byte)(2)
  434. #define SPLINE (Byte)(3)
  435. #define MARK (Byte)(4)
  436. #define PIE (Byte)(5)
  437. #define AREA (Byte)(6)
  438. #define PARETO (Byte)(7)
  439. #define SCATTER (Byte)(8)
  440. #define HILOW (Byte)(9)
  441. #define CC_HIDETEXT (Byte)(1)
  442. #define CC_HIDE (Byte)(2)
  443. #define CL_NOTCLIPPED (Byte)(1)
  444. #define CL_NOTCHANGECOLOR (Byte)(2)
  445. #define CL_HIDE (Byte)(4)
  446. #define CL_HIDEXLEG (Byte)(4)
  447. #define CL_FORCESERLEG (Byte)(8)
  448. #define CL_GETLEGEND (Byte)(16)
  449. #define CL_HIDEYLEG (Byte)(32)
  450. #define COD_VALUES (Byte)(1)
  451. #define COD_CONSTANTS (Byte)(2)
  452. #define COD_COLORS (Byte)(3)
  453. #define COD_STRIPES (Byte)(4)
  454. #define COD_INIVALUES (Byte)(5)
  455. #define COD_XVALUES (Byte)(6)
  456. #define COD_STATUSITEMS (Byte)(7)
  457. #define COD_UNKNOWN (Shortint)(-1)
  458. #define COD_UNCHANGE (Byte)(0)
  459. #define CHART_BALLOONCLK (Byte)(0)
  460. #define CHART_DIALOGCLK (Byte)(1)
  461. #define CHART_NONECLK (Byte)(2)
  462. #define CHART_MENUCLK (Byte)(3)
  463. #define CDIALOG_EXPORTFILE (Byte)(14)
  464. #define CDIALOG_IMPORTFILE (Byte)(15)
  465. #define CDIALOG_WRITETEMPLATE (Byte)(8)
  466. #define CDIALOG_READTEMPLATE (Byte)(9)
  467. #define CDIALOG_PAGESETUP (Byte)(4)
  468. #define CDIALOG_ABOUT (Byte)(11)
  469. #define CDIALOG_OPTIONS (Byte)(12)
  470. #define CDIALOG_EDITTITLES (Byte)(35)
  471. #define CDIALOG_FONTS (Byte)(39)
  472. #define CDIALOG_ROTATE (Byte)(52)
  473. #define CSA_MIN (Byte)(0)
  474. #define CSA_MAX (Byte)(1)
  475. #define CSA_GAP (Byte)(2)
  476. #define CSA_SCALE (Byte)(3)
  477. #define CSA_YLEGGAP (Byte)(4)
  478. #define CSA_PIXXVALUE (Byte)(5)
  479. #define CSA_XMIN (Byte)(6)
  480. #define CSA_XMAX (Byte)(7)
  481. #define CSA_XGAP (Byte)(8)
  482. #define CSA_LOGBASE (Byte)(9)
  483. #define CHART_LEFTTIT (Byte)(0)
  484. #define CHART_RIGHTTIT (Byte)(1)
  485. #define CHART_TOPTIT (Byte)(2)
  486. #define CHART_BOTTOMTIT (Byte)(3)
  487. #define CHART_LEFTFT (Byte)(0)
  488. #define CHART_RIGHTFT (Byte)(1)
  489. #define CHART_TOPFT (Byte)(2)
  490. #define CHART_BOTTOMFT (Byte)(3)
  491. #define CHART_XLEGFT (Byte)(4)
  492. #define CHART_YLEGFT (Byte)(5)
  493. #define CHART_FIXEDFT (Byte)(6)
  494. #define CHART_LEGENDFT (Byte)(7)
  495. #define CI_HORZGRID (Byte)(0)
  496. #define CI_VERTGRID (Byte)(1)
  497. #define CD_ALL (Byte)(0)
  498. #define CD_VALUES (Byte)(1)
  499. #define CD_YLEG (Byte)(2)
  500. #define CD_XLEG (Byte)(3)
  501. extern PACKAGE GUID Class_Chartfx;
  502. extern PACKAGE void __fastcall Register(void);
  503.  
  504. }    /* namespace Chartfx3 */
  505. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  506. using namespace Chartfx3;
  507. #endif
  508. //-- end unit ----------------------------------------------------------------
  509. #endif    // chartfx3
  510.